package org.lsj.kit.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.lsj.kit.model.MenuResource;
import org.lsj.kit.model.MenuResourceExample;

public interface MenuResourceMapper {
    long countByExample(MenuResourceExample example);

    int deleteByExample(MenuResourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MenuResource record);

    int insertSelective(MenuResource record);

    List<MenuResource> selectByExample(MenuResourceExample example);

    MenuResource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MenuResource record, @Param("example") MenuResourceExample example);

    int updateByExample(@Param("record") MenuResource record, @Param("example") MenuResourceExample example);

    int updateByPrimaryKeySelective(MenuResource record);

    int updateByPrimaryKey(MenuResource record);
}